package com.threeti.mecool.legacy.domain.model.basicdata.biz;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/** 通路(遗留)，即终端 */
@Entity
@Table(name = "MD_POS")
public class PosLegacy implements Serializable {
  public static final String ENABLE = "0";
  public static final String DISABLE = "1";
  
  @Id
  @Column(name="POS_CODE")
  private String code;
  
  @Column(name="POS_NAME")
  private String name;

  @Column(name="POS_KIND_CODE")
  private String kindCode;
  
  @Column(name="POS_SYS_KIND")
  private String sysKind;
  
  @Column(name="AD_ID")
  private Long adId;
  
  @Column(name="POS_ADDR")
  private String address;
  
  @Column(name="IS_DEL")
  private String isDisable = "0";

  public String getCode() {
    return code;
  }

  public String getName() {
    return name;
  }

  public String getKindCode() {
    return kindCode;
  }

  public String getSysKind() {
    return sysKind;
  }

  public Long getAdId() {
    return adId;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getIsDisable() {
    return isDisable;
  }

  public void setIsDisable(String isDisable) {
    this.isDisable = isDisable;
  }

  @Override
  public String toString() {
    return "PosLegacy [code=" + code + ", name=" + name + ", kindCode=" + kindCode + ", sysKind=" + sysKind + ", adId="
        + adId + ", address=" + address + "]";
  }
	
	
}
